package com.cloudkinto.bo.file;

import com.cloudkinto.enumType.operate.OperateTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author long
 * @Description 删除文件并添加日志
 * @Date 2024/12/17 14:22
 */
@Data
public class DeleteFileBo {

    @ApiModelProperty(value = "需要添加日志的id eg.订单id")
    private Long id;

    @ApiModelProperty(value = "日志类型字符串")
    private OperateTypeEnum type;

    @ApiModelProperty(value = "文件id")
    @NotNull(message = "文件id不可为空")
    private Long fileId;
}
